package com.xdf.xzymanagementsystem.entity;

import lombok.Builder;
import lombok.Data;
import java.io.Serializable;
import lombok.experimental.Tolerate;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@Builder
public class QcDetail implements Serializable,Cloneable {
    private Integer id;//
    private Integer parentId;//外键=qc_main.id
    private String defectDesc;//不适合内容详细/发现状况

    private String m01;
    private String m02;
    private String m03;
    private String reason01;//追及原因01
    private String deal01;//对策01
    private String reason02;//追及原因02
    private String deal02;//对策02
    private String reason03;//追及原因03
    private String deal03;//对策03
    private String reason04;//追及原因04
    private String deal04;//对策04
    private String releaseReason;//流出原因
    private String prevent;//防止流出对策
    private String remark;//备注
    private Integer state;//-1删除，0作废，1有效，2审核
    private Integer seq;//排序序号
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private java.util.Date createTime;//创建时间，DB自动填充
    private String createUser;//制单人
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private java.util.Date lastUpdate;//最后一次修改时间
    private String lastUser;//最后一次修改人

    private static final long serialVersionUID = 1L;

    @Override
    public Object clone() throws CloneNotSupportedException {
            return super.clone();
    }

    @Tolerate
    public QcDetail() { }
    //=================以上是自动生成的代码，自定义代码请写在下面==================
}